﻿using System;
using System.Collections.Generic;
using System.Linq;
using Ecopsy.DataTier;

namespace AgencyEntityLib.BaseEntity
{
    // Ссписок категроии древовидных справочников - провайдера/настраиваемые
    public class TreeDictionaryTypeList : EntityList, ISqlSignature
    {        

        #region ISqlSignature Members

        public string SaveProcedure
        {
            get { return string.Empty; }
        }

        public string DeleteProcedure
        {
            get { return string.Empty; }
        }

        public string LoadProcedure
        {
            get { return "TreeDictionaryTypeList_Load"; }
        }

        #endregion
    }

    public class TreeDictionaryTypeList_Item : DictionaryItem
    {
        private int _IsSystem = 0;
        public int IsSystem { get { return _IsSystem; } set { _IsSystem = value; } }

        private int _DeepLevel = 10;
        public int DeepLevel { get { return _DeepLevel; } set { _DeepLevel = value; } }
        
    }
}
